#root.barcode-scanner-active {
    visibility: hidden;
    --background: transparent;
    --ion-background-color: transparent;
}
  
.barcode-scanner-modal {
    visibility: visible;
}
  
@media (prefers-color-scheme: dark) {
    .barcode-scanner-modal {
        --background: transparent;
        --ion-background-color: transparent;
    }
}